package com.nova.bluetooth.widget.refresh;

import android.content.Context;
import android.util.AttributeSet;

import com.nova.bluetooth.R;
import com.scwang.smart.refresh.footer.ClassicsFooter;


public class MyClassicsFooter extends ClassicsFooter {
    public MyClassicsFooter(Context context) {
        super(context);
        initRefreshText(context);
    }

    public MyClassicsFooter(Context context, AttributeSet attrs) {
        super(context, attrs);
        initRefreshText(context);
    }

    private void initRefreshText(Context context){
        mTextPulling = context.getString(R.string.app_dr_1);
        mTextRelease = context.getString(R.string.app_dr_2);
        mTextLoading = context.getString(R.string.app_dr_3);
        mTextRefreshing = context.getString(R.string.app_dr_4);
        mTextFinish = context.getString(R.string.app_dr_5);
        mTextFailed = context.getString(R.string.app_dr_6);
        mTextNothing = context.getString(R.string.app_dr_7);
    }
}
